.FILE COPY
This subroutine will copy a file from one location to another, creating any required directories.
Usage:
Description:
This subroutine will copy a file from one location to another, creating any required directories. All parameters are required, if any are missing the subroutine will CANCEL.
<error_message> contains additional error information if the command fails (Required). Must be PASSed with Share "Y".
<source_file> is the source file to be copied (Required).
<dest_file> is the location where the file should be copied to (Required). This must include the destination file name, ie, you cannot just specifiy a target directory.
If --- .FILE COPY contains 'File Copy Failed', you can check the <error_message> field for more information on why the copy failed. This routine will not overwrite an existing file, if you want to replace an existing file you can use .FILE DELETE to delete the destination first.
|